@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${trainSeat.id}">
            <input type="hidden" id="vehicleId" value="${trainSeat.vehicleId}"/>

            <div class="row">
                <div class="col-sm-6 b-r">
                	<#input id="vehicleNo" name="车次" readOnly="true" underline="true" value="${vehicle.vehicleNo}"/>
					<#input id="seatNo" name="座位号" underline="true" value="${trainSeat.seatNo}"/>
                </div>

                <div class="col-sm-6">
					<#input id="carriageNo" name="车厢号" underline="true" value="${trainSeat.carriageNo}"/>
					<#SelectCon id="seatType1" name="座位类型"  lang="${trainSeat.seatType}">
                        <option value="1">硬上</option>
                        <option value="2">硬中</option>
                        <option value="3">硬下</option>
                        <option value="4">软上</option>
                        <option value="5">软下</option>
                    </#SelectCon>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TrainSeatInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TrainSeatInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/js/trainSeat/trainSeat_info.js"></script>
@}
